#!/usr/bin/env python3
import sys
import os

# 添加项目根目录到Python路径
project_root = r"E:\Products\privilege-maDev"
if project_root not in sys.path:
    sys.path.insert(0, project_root)

# 设置环境变量
os.environ['PYTHONPATH'] = project_root + os.pathsep + os.environ.get('PYTHONPATH', '')

print(f"已设置项目环境: {project_root}")
